﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Joyintech.BLL.inpiao365;

namespace Joyintech.Web.inpiao365.UserCenter
{
    public partial class Myticket_userseat_release : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            string MovieId = Request.QueryString["lsh"]; //电影编号
            string TheaterId = Request.QueryString["yyh"]; //影院编号
            string TheaterRoomId = Request.QueryString["yth"]; //影厅编号
            string ScreeningsId = Request.QueryString["cc"]; //场次
           
            order_BLL orderBll = new order_BLL();
            if (orderBll.Delete(id) > 0)
            {
                Response.Redirect("/PhenixTicket/phenix_seat_list_new.aspx?lsh=" + MovieId + "&yyh=" + TheaterId + "&yth=" + TheaterRoomId + "&cc=" + ScreeningsId + "");
            }
            else
            {

            }
        }
    }
}